const brance_all = require('../brance_all/brance_all')

const castle = {
  markers:[{//平遥梁村古堡
    id: 58,
    latitude: 37.16202337213824, longitude: 112.2371902049083,
    iconPath: brance_all.iconPath,
    anchor:brance_all.anchor,
    width:brance_all.width,
    height:brance_all.height, 
    customCallout:{
      anchorY: 30,
      anchorX: 30,
      display: 'ALWAYS'
    }
  }, {//张壁古堡
    id: 59,
    latitude: 36.96254891631311, longitude: 111.97312232456557,
    iconPath: brance_all.iconPath,
    anchor:brance_all.anchor,
    width:brance_all.width,
    height:brance_all.height, 
    customCallout:{
      anchorY: 10,
      anchorX: 50,
      display: 'ALWAYS'
    }
  }, {//夏门梁氏古堡
    id: 60,
    latitude: 36.81483131382046, longitude: 111.70875521227595,
    iconPath: brance_all.iconPath,
    anchor:brance_all.anchor,
    width:brance_all.width,
    height:brance_all.height, 
    customCallout:{
      anchorY: 15,
      anchorX: 50,
      display: 'ALWAYS'
    }
  }],
  customCalloutMarkerIds:[{
    id:58,
    name:'梁村古堡'
  },{
    id:59,
    name:'张壁古堡'
  },{
    id:60,
    name:'夏门梁氏古堡'
  }],
  polyline:[{
    points:[
      //梁村古堡
      {latitude: 37.16202337213824, longitude: 112.2371902049083},
      {latitude: 37.16027841463381, longitude: 112.23719877093959}
     ,{latitude: 37.158358162145234, longitude: 112.22858121841375}
     ,{latitude: 37.15647725305177, longitude: 112.21878472392245}
     ,{latitude: 37.15556607758755, longitude: 112.20832843200662}
     ,{latitude: 37.15866301284039, longitude: 112.19415215724177}
     ,{latitude: 37.16958458935242, longitude: 112.187949842487}
     ,{latitude: 37.160689431044936, longitude: 112.17651559633032}
     ,{latitude: 37.154116175150065, longitude: 112.16732940494103}
     ,{latitude: 37.148422889289016, longitude: 112.1559895043655}
     ,{latitude: 37.14074877392565, longitude: 112.12725899711018}
     ,{latitude: 37.13444873570287, longitude: 112.11409189975984}
     ,{latitude: 37.12965172502464, longitude: 112.10609139671726}
     ,{latitude: 37.10575294881694, longitude: 112.07906997146631}
     ,{latitude: 37.083335368206725, longitude: 112.0443599621974}
     ,{latitude: 37.06036476737439, longitude: 112.01325413508312}
     ,{latitude: 37.052486652118354, longitude: 111.99379407268304}
     ,{latitude: 37.034402989347114, longitude: 111.9757902909522}
     ,{latitude: 37.02420202666619, longitude: 111.96504214596905}
     ,{latitude: 37.01257123111434, longitude: 111.946173249597}
     ,{latitude: 37.01061779309783, longitude: 111.94549755853996}
     ,{latitude: 37.01081956534084, longitude: 111.94853536092228}
     ,{latitude: 37.00933839492303, longitude: 111.94845113352608}
     ,{latitude: 37.00785569782884, longitude: 111.95039210798473}
     ,{latitude: 37.00731762072203, longitude: 111.9471016229711}
     ,{latitude: 37.00623844990414, longitude: 111.94929527971829}
     ,{latitude: 37.00514362669117, longitude: 111.95068749601319}
     ,{latitude: 37.00482445068552, longitude: 111.9524996654626}
     ,{latitude: 36.986878588708365, longitude: 111.96148347727899}
     ,{latitude: 36.986826130807394, longitude: 111.96354962031796}
     ,{latitude: 36.98517636252868, longitude: 111.96474559255205}
     ,{latitude: 36.98499966195326, longitude: 111.96586285941055}
     ,{latitude: 36.985345100154476, longitude: 111.96676827885744}
     ,{latitude: 36.985613885164035, longitude: 111.96727395140374}
     ,{latitude: 36.98658971645265, longitude: 111.96676827885744}
     ,{latitude: 36.9869850418693, longitude: 111.96678965825765}
     ,{latitude: 36.98726316055352, longitude: 111.9676945650956}
     ,{latitude: 36.98702723095933, longitude: 111.9683264193302}
     ,{latitude: 36.9861186012741, longitude: 111.96849559991892}
     ,{latitude: 36.98368726477732, longitude: 111.96750582137656}
     ,{latitude: 36.98139672200506, longitude: 111.96876864932688}
     ,{latitude: 36.98095917475226, longitude: 111.96910607657901}
     ,{latitude: 36.97839311111962, longitude: 111.97001204743435}
     ,{latitude: 36.97793926807555, longitude: 111.9713174770477}
     ,{latitude: 36.97655935547756, longitude: 111.97173809096762}
     ,{latitude: 36.97369017723732, longitude: 111.9748774121573}
     ,{latitude: 36.97109004744212, longitude: 111.97509333407368}
     ,{latitude: 36.968801172885264, longitude: 111.9760626157888}
     ,{latitude: 36.96748830704045, longitude: 111.97884240614599}
     ,{latitude: 36.964888012421675, longitude: 111.97835856398626}
     ,{latitude: 36.96145606706868, longitude: 111.97742379698957}
     ,{latitude: 36.9605135226455, longitude: 111.97502255877237},
      //张壁古堡
      {latitude: 36.96254891631311, longitude: 111.97312232456557}
     ,{latitude: 36.96060288194057, longitude: 111.97510463901858}
     ,{latitude: 36.95828799661056, longitude: 111.97485949920224}


     ,{latitude: 36.95573789994724, longitude: 111.97247781136446}
     ,{latitude: 36.949533119913326, longitude: 111.97205561322176}
     ,{latitude: 36.94635810397377, longitude: 111.97436303583277}
     ,{latitude: 36.942208756528586, longitude: 111.9745170096395}
     ,{latitude: 36.93748394169699, longitude: 111.97539066441414}
     ,{latitude: 36.93323265605141, longitude: 111.97870547029038}
     ,{latitude: 36.93073035440425, longitude: 111.97924046810408}
     ,{latitude: 36.927027375611004, longitude: 111.97831797836352}
     ,{latitude: 36.925167068670866, longitude: 111.97414599940203}
     ,{latitude: 36.92291605516692, longitude: 111.97230111348608}
     ,{latitude: 36.92051180284704, longitude: 111.97230111348608}
     ,{latitude: 36.91880623499053, longitude: 111.96822815792643}
     ,{latitude: 36.913820933105114, longitude: 111.96779160888434}
     ,{latitude: 36.9135309522306, longitude: 111.96386027890185}
     ,{latitude: 36.905102295053894, longitude: 111.96034551811135}
     ,{latitude: 36.908245987185474, longitude: 111.95121966608986}
     ,{latitude: 36.9121048090859, longitude: 111.92982624738181}
     ,{latitude: 36.91654605309778, longitude: 111.90833353456401}
     ,{latitude: 36.906491549054714, longitude: 111.90445251508402}
     ,{latitude: 36.90269070273917, longitude: 111.90571401216403}
     ,{latitude: 36.890663773347946, longitude: 111.89465331254087}
     ,{latitude: 36.884503331735736, longitude: 111.87911348071248}
     ,{latitude: 36.88473494013994, longitude: 111.85124102966529}
     ,{latitude: 36.88591888086717, longitude: 111.82820754158104}
     ,{latitude: 36.87978896057583, longitude: 111.8197667088366}
     ,{latitude: 36.87110519520943, longitude: 111.81252791725035}
     ,{latitude: 36.86303303970506, longitude: 111.80311620302837}
     ,{latitude: 36.85902448829438, longitude: 111.80324275455723}
     ,{latitude: 36.85566597603308, longitude: 111.79708238396336}
     ,{latitude: 36.85071678124105, longitude: 111.79179456379563}
     ,{latitude: 36.847456361966955, longitude: 111.78360704403872}
     ,{latitude: 36.84768893135792, longitude: 111.77099423443542}
     ,{latitude: 36.847158136349314, longitude: 111.76530298164573}
     ,{latitude: 36.84434284112172, longitude: 111.76379995522734}
     ,{latitude: 36.83820860928442, longitude: 111.76845711910607}
     ,{latitude: 36.83554432245126, longitude: 111.76809424512112}
     ,{latitude: 36.82845800818574, longitude: 111.76765830435068}
     ,{latitude: 36.82397380410306, longitude: 111.76469724370577}
     ,{latitude: 36.82397380410306, longitude: 111.76227327715287}
     ,{latitude: 36.82513868872213, longitude: 111.75984715650043}
     ,{latitude: 36.826050464748455, longitude: 111.75291062207475}
     ,{latitude: 36.82959506588048, longitude: 111.7372374367693}
     ,{latitude: 36.82765484548727, longitude: 111.73248206729636}
     ,{latitude: 36.821518526682425, longitude: 111.7225859913442}
     ,{latitude: 36.82070039440636, longitude: 111.71361025419742}
     ,{latitude: 36.81940634990388, longitude: 111.70855311981586}
     ,{latitude: 36.81919233133419, longitude: 111.7079410001702}
     ,{latitude: 36.81817525108712, longitude: 111.70857914573628}
     ,{latitude: 36.81769512203345, longitude: 111.70740624229518}
     ,{latitude: 36.81663114119094, longitude: 111.7075369504804}
     ,{latitude: 36.815858841085124, longitude: 111.70863119771843}
     ,{latitude: 36.81523284966119, longitude: 111.70897011358534},
      //夏门梁氏古堡
      {latitude: 36.81483131382046, longitude: 111.70875521227595}
    ],
    color: brance_all.color[9],
    width: brance_all.polyline_width,
    dottedLine: false,
    arrowLine: true,
    borderWidth: brance_all.polyline_borwidth,
    borderColor: brance_all.color[9],
  }],
  moveable_markers:[{
    //平遥梁村古堡
    id: 100,
    latitude: 37.16202337213824, longitude: 112.2371902049083,
    iconPath: brance_all.moveable_markers[9],
    width:45,
    height:45
  }, {
    //张壁古堡
    id: 100,
    latitude: 36.96254891631311, longitude: 111.97312232456557,
    iconPath: brance_all.moveable_markers[9],
    width:45,
    height:45,
  }, {
    //夏门梁氏古堡
    id: 100,
    latitude: 36.81483131382046, longitude: 111.70875521227595,
    iconPath: brance_all.moveable_markers[9],
    width:45,
    height:45,
  }]
}

module.exports = {
  castle
}